﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EECMISWS
{
    public class RelationPeopleInfo
    {
        /// <summary>
        /// 性别代码
        /// </summary>
        public string xb { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        public string sfzhm { get; set; }

        /// <summary>
        /// 关系人类别
        /// </summary>
        public string gxrlb { get; set; }

        /// <summary>
        /// 中文姓名
        /// </summary>
        public string zwxm { get; set; }
        
        /// <summary>
        /// 身份证号
        /// </summary>
        public string ywbh { get; set; }

        /// <summary>
        /// 旅行证件号码
        /// </summary>
        public string zjhm { get; set; }

        /// <summary>
        /// 亲属关系
        /// </summary>
        public string qsgx { get; set; }

        public bool IsValid
        {
            get
            {
                if (string.IsNullOrEmpty(zwxm)
                   || string.IsNullOrEmpty(ywbh))
                {
                    return false;
                }               
                return true;
            }
        }
    }
}
